hdc shell uitest dumpLayout -p /data/local/tmp/widget_tree.json
hdc file recv /data/local/tmp/widget_tree.json wt.json
hdc shell rm -rf recv /data/local/tmp/widget_tree.json

@echo off
set "json_file_path=wt.json"
set "json_out_file_path=wt_format.json"
D:\installs\tools\other_Tools\jq.exe . %json_file_path% > %json_out_file_path%